package org.complex.jbossmc;

import java.net.URL;

public class Run {

    public static void main(String[] args) {
        try {
            // Start JBoss Microcontainer
            EmbeddedBootstrap bootstrap = new EmbeddedBootstrap();
            //          this.bootstrap = bootstrap;
            bootstrap.run();
            URL stuffManagerURL = new URL("http://www.baidu.com");
            bootstrap.deploy(stuffManagerURL);

        } catch (Throwable t) {
            t.printStackTrace();
        }
    }

}
